<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Home\Controller\GeneratorController | XY Server API alpha</title>

	<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li>
					<a href="namespace-Behavior.html">
						Behavior					</a>

						</li>
				<li>
					<a href="namespace-DatebaseSQL.html">
						DatebaseSQL					</a>

						</li>
				<li>
					<a href="namespace-Doc.html">
						Doc					</a>

						</li>
				<li>
					<a href="namespace-ErrorCode.html">
						ErrorCode					</a>

						</li>
				<li class="active">
					<a href="namespace-Home.html">
						Home<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Home.Controller.html">
						Controller					</a>

						</li>
				<li>
					<a href="namespace-Home.Model.html">
						Model					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-None.html">
						None					</a>

						</li>
				<li>
					<a href="namespace-Think.html">
						Think					</a>

						</li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Home.Controller.AccountController.html">AccountController</a></li>
				<li><a href="class-Home.Controller.ApplyController.html">ApplyController</a></li>
				<li><a href="class-Home.Controller.AuthController.html">AuthController</a></li>
				<li><a href="class-Home.Controller.BaseController.html">BaseController</a></li>
				<li><a href="class-Home.Controller.CarlicenseController.html">CarlicenseController</a></li>
				<li><a href="class-Home.Controller.CompanyController.html">CompanyController</a></li>
				<li><a href="class-Home.Controller.ConfigController.html">ConfigController</a></li>
				<li><a href="class-Home.Controller.ContactController.html">ContactController</a></li>
				<li><a href="class-Home.Controller.CusListController.html">CusListController</a></li>
				<li><a href="class-Home.Controller.DepartmentController.html">DepartmentController</a></li>
				<li><a href="class-Home.Controller.EmptyController.html">EmptyController</a></li>
				<li><a href="class-Home.Controller.EverydaySummarySheetController.html">EverydaySummarySheetController</a></li>
				<li><a href="class-Home.Controller.FaceRecController.html">FaceRecController</a></li>
				<li><a href="class-Home.Controller.FeedbackController.html">FeedbackController</a></li>
				<li><a href="class-Home.Controller.FinanceController.html">FinanceController</a></li>
				<li class="active"><a href="class-Home.Controller.GeneratorController.html">GeneratorController</a></li>
				<li><a href="class-Home.Controller.GoodController.html">GoodController</a></li>
				<li><a href="class-Home.Controller.HomeController.html">HomeController</a></li>
				<li><a href="class-Home.Controller.IndexController.html" class="invalid">IndexController</a></li>
				<li><a href="class-Home.Controller.InstallController.html">InstallController</a></li>
				<li><a href="class-Home.Controller.LoginController.html">LoginController</a></li>
				<li><a href="class-Home.Controller.OrderController.html">OrderController</a></li>
				<li><a href="class-Home.Controller.OtherController.html">OtherController</a></li>
				<li><a href="class-Home.Controller.ParkaddressController.html">ParkaddressController</a></li>
				<li><a href="class-Home.Controller.PaybillController.html">PaybillController</a></li>
				<li><a href="class-Home.Controller.PaymentDetailsController.html">PaymentDetailsController</a></li>
				<li><a href="class-Home.Controller.PhonenumController.html">PhonenumController</a></li>
				<li><a href="class-Home.Controller.PrintTemplateController.html">PrintTemplateController</a></li>
				<li><a href="class-Home.Controller.QnUploadController.html">QnUploadController</a></li>
				<li><a href="class-Home.Controller.QueryController.html">QueryController</a></li>
				<li><a href="class-Home.Controller.RealDataGeneratorController.html">RealDataGeneratorController</a></li>
				<li><a href="class-Home.Controller.SkuStorageController.html">SkuStorageController</a></li>
				<li><a href="class-Home.Controller.SmsDetailsController.html">SmsDetailsController</a></li>
				<li><a href="class-Home.Controller.StatementOfAccountController.html">StatementOfAccountController</a></li>
				<li><a href="class-Home.Controller.StorageController.html">StorageController</a></li>
				<li><a href="class-Home.Controller.UpdateController.html">UpdateController</a></li>
				<li><a href="class-Home.Controller.UpdateDatabaseFormatController.html">UpdateDatabaseFormatController</a></li>
				<li><a href="class-Home.Controller.UserAccountController.html">UserAccountController</a></li>
				<li><a href="class-Home.Controller.UserController.html">UserController</a></li>
				<li><a href="class-Home.Controller.UtilController.html">UtilController</a></li>
				<li><a href="class-Home.Controller.WarehouseController.html">WarehouseController</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-Home.Controller.html" title="Summary of Home\Controller"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
				<li>
					<a href="annotation-group-api.html" title="List of elements with api annotation">
						<span>Api</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-version.html" title="List of elements with version annotation">
						<span>Version</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-since.html" title="List of elements with since annotation">
						<span>Since</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-deprecated.html" title="List of elements with deprecated annotation">
						<span>Deprecated</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-todo.html" title="List of elements with todo annotation">
						<span>Todo</span>
					</a>
				</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class GeneratorController</h1>


	<div class="description">
	<p>生成假数据控制器</p>

<ul>
<li>参考文档：<code><a href="function-Doc.doc_view.html">Doc\doc_view()</a></code></li>
<li>错误代码：<code><a href="class-ErrorCode.ErrorCode.html">ErrorCode\ErrorCode</a></code></li>
</ul>
	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-Think.Controller.html"><span>Think\Controller</span></a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
			<a href="class-Home.Controller.BaseController.html"><span>Home\Controller\BaseController</span></a>
			
			
			
		</dd>
		<dd style="padding-left:60px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>Home\Controller\GeneratorController</span></b>			
			
			
		</dd>
	</dl>


	<div>
		<h4>Direct known subclasses</h4>
			<a href="class-Home.Controller.RealDataGeneratorController.html">Home\Controller\RealDataGeneratorController</a>
	</div>






	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-Home.html">Home</a>\<a href="namespace-Home.Controller.html">Controller</a><br>
		

			<b>Located at</b> <a href="source-class-Home.Controller.GeneratorController.html#7-1044" title="Go to source code">Home/Controller/GeneratorController.class.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="index" id="_index">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_index">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#88-91" title="Go to source code">index</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="generator" id="_generator">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_generator">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#95-132" title="Go to source code">generator</a>( )</code>

		<div class="description short">
			<p>生成假数据</p>
		</div>

		<div class="description detailed hidden">
			<p>生成假数据</p>




				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-XYException.html">XYException</a></code>
				</div>

				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-04<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genAuth" id="_genAuth">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genAuth">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#133-405" title="Go to source code">genAuth</a>( )</code>

		<div class="description short">
			<p>生成权限相关的东西</p>
		</div>

		<div class="description detailed hidden">
			<p>生成权限相关的东西</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.15<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-09-18<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genAdminUser" id="_genAdminUser">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genAdminUser">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#407-498" title="Go to source code">genAdminUser</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="genCat" id="_genCat">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genCat">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#503-531" title="Go to source code">genCat</a>( )</code>

		<div class="description short">
			<p>生成Cat数据</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Cat数据</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genSto" id="_genSto">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genSto">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#533-558" title="Go to source code">genSto</a>( )</code>

		<div class="description short">
			<p>生成Storage数据</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Storage数据</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						1.11<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2017-06-05<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genSKU" id="_genSKU">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genSKU">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#561-627" title="Go to source code">genSKU</a>( )</code>

		<div class="description short">
			<p>生成SKU数据.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成SKU数据.</p>

<p>注意：依赖genCat提供的catCount和genSto提供的stoCount</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genCompany" id="_genCompany">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genCompany">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#632-680" title="Go to source code">genCompany</a>( )</code>

		<div class="description short">
			<p>生成Company数据.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Company数据.</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genOrder" id="_genOrder">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genOrder">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#684-781" title="Go to source code">genOrder</a>( )</code>

		<div class="description short">
			<p>生成Order数据.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Order数据.</p>

<p>依赖genSku提供的skuCount、依赖genCompany提供的cidCount、genSto提供的stoCount</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genWarehouse_StockTaking" id="_genWarehouse_StockTaking">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genWarehouse_StockTaking">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#785-854" title="Go to source code">genWarehouse_StockTaking</a>( )</code>

		<div class="description short">
			<p>生成Warehouse的盘点单数据.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Warehouse的盘点单数据.</p>

<p>依赖genSku提供的skuCount</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genFinance_IncomeOrExpense" id="_genFinance_IncomeOrExpense">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genFinance_IncomeOrExpense">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#859-913" title="Go to source code">genFinance_IncomeOrExpense</a>( )</code>

		<div class="description short">
			<p>生成Finance的其他收入单、费用单.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Finance的其他收入单、费用单.</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genFinance_ReceiptOrPayment" id="_genFinance_ReceiptOrPayment">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genFinance_ReceiptOrPayment">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#917-1024" title="Go to source code">genFinance_ReceiptOrPayment</a>( )</code>

		<div class="description short">
			<p>生成Finance的收款单、付款单.</p>
		</div>

		<div class="description detailed hidden">
			<p>生成Finance的收款单、付款单.</p>

<p>依赖genCompany提供的cidCount</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						0.6<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2016-07-08<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="genVisitor" id="_genVisitor">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_genVisitor">#</a>
		<code><a href="source-class-Home.Controller.GeneratorController.html#1028-1042" title="Go to source code">genVisitor</a>( )</code>

		<div class="description short">
			<p>生成体验账户</p>
		</div>

		<div class="description detailed hidden">
			<p>生成体验账户</p>





				<h4>Author</h4>
				<div class="list">
						co8bit <a href="&#x6d;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#58;&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#109;&#101;&#64;&#99;&#111;8b&#x69;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a><br>
				</div>
				<h4>Version</h4>
				<div class="list">
						1.10<br>
				</div>
				<h4>Date</h4>
				<div class="list">
						2017-05-27<br>
				</div>


		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-Home.Controller.BaseController.html#methods">Home\Controller\BaseController</a></caption>
	<tr>
		<td><code>
			<a href="class-Home.Controller.BaseController.html#__empty">_empty()</a>, 
			<a href="class-Home.Controller.BaseController.html#_appError">appError()</a>, 
			<a href="class-Home.Controller.BaseController.html#_appException">appException()</a>, 
			<a href="class-Home.Controller.BaseController.html#_fatalError">fatalError()</a>, 
			<a href="class-Home.Controller.BaseController.html#_halt">halt()</a>
		</code></td>
	</tr>
	</table>
	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-Think.Controller.html#methods">Think\Controller</a></caption>
	<tr>
		<td><code>
			<a href="class-Think.Controller.html#___call">__call()</a>, 
			<a href="class-Think.Controller.html#___construct">__construct()</a>, 
			<a href="class-Think.Controller.html#___destruct">__destruct()</a>, 
			<a href="class-Think.Controller.html#___get">__get()</a>, 
			<a href="class-Think.Controller.html#___isset">__isset()</a>, 
			<a href="class-Think.Controller.html#___set">__set()</a>, 
			<a href="class-Think.Controller.html#_get">get()</a>
		</code></td>
	</tr>
	</table>

















</div>

	<div id="footer">
		XY Server API alpha API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
